package database;

/**
 * @author 赵希奥
 * @date 2022/3/30 17:25
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description: Oracle适配器, 充当适配器
 */
public class OracleAdapter implements DatabaseAccess {
    private OracleAccess oracleAccess;

    public OracleAdapter(OracleAccess oracleAccess) {
        this.oracleAccess = new OracleAccess();
    }

    @Override
    public void read() {
        oracleAccess.oracleRead();
    }
}
